﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Snipr.Framework.Logging
{
    public class ExceptionLogger : ILogger
    {
        public void Log(Exception exception)
        {
            MessageLogger messageLogger = new MessageLogger();
            messageLogger.Log(exception.Message);
        }
        public void Log(Exception exception, int userID)
        {
            MessageLogger messageLogger = new MessageLogger();
            messageLogger.Log(exception.Message, userID);
        }
    }
}
